package com.demo.lottery.quantity;


/**
 * @author wangfengchen
 * 奖品类
 */
public class Prize {
    // 奖品名称
    private String name;
    // 奖品数量
    private int quantity;
    // 奖品累计数量
    private int cumulativeQuantity;
 
    public Prize(String name, int quantity) {
        this.name = name;
        this.quantity = quantity;
    }
 
    public String getName() {
        return name;
    }
 
    public int getQuantity() {
        return quantity;
    }
 
    public int getCumulativeQuantity() {
        return cumulativeQuantity;
    }
 
    public void setCumulativeQuantity(int cumulativeQuantity) {
        this.cumulativeQuantity = cumulativeQuantity;
    }
}